# -*- coding: utf-8 -*-
'''
Created on 2013-4-15

@author: chenkaode@baidu.com
'''
from util.CommonUtil import CommonUtil
import os

class Constant:

    UBC_DB_DIR = CommonUtil.getResPath() + os.sep + "ubcdb" 
    UBC_DB = UBC_DB_DIR + os.sep + "ubc.db"
    UBC_DB_25MB = UBC_DB_DIR + os.sep + "2.5M" + os.sep + "ubc_database.db"
    UBC_DB_1001 = UBC_DB_DIR + os.sep + "1001" + os.sep + "ubc_database.db"
    UBC_DB_50KB = UBC_DB_DIR + os.sep + "50KB" + os.sep + "ubc_database.db"
    UBC_DB_PHONE = CommonUtil.getUbcPkgPath() + "/databases/ubc_database.db"
    
    WIFI_INFO_FILE = "/data/misc/wifi/wpa_supplicant.conf"
    TEMP_DIR = "E:\\testhelper"
    WIFI_CONFIG = "\nnetwork={\n\tssid=\"Baidu_Wifi\"\n\tkey_mgmt=WPA-EAP IEEE8021X\n\teap=PEAP\n\tidentity=\"yanguohong\"\n\tpassword=\"Ygh330610@126\"\n\tpriority=1\n}"
        
    #WIFI_CONFIG2 = "\nnetwork={\n\tssid=\"passwordis123\"\n\tpsk=\"61129181314\"\n\tkey_mgmt=WPA-PSK\n\tpriority=2\n}"